module Demo {
   struct BodyStruct{
	                int id;
	                double radius;
	                double posX;
	                double posY;
	                double posZ;
 	        };
 	 sequence<BodyStruct> bodyStructList;


    interface Printer{
		            void setNumberOfBodies(int numOfBodies);
                    void setLowerLimitMass(int lowLMass);
                    void setUpperLimitMass(int uppLMass);
                    void setLowerLimitRadii(int lowLRadii);
                    void setUpperLimitRadii(int uppLRadii);
                    void setMassCentralBody(double massCBody);
                    void setSpaceCircumferenceLowerLimit(int spaceCirLowL);
                    void setSpaceCircumferenceUpperLimit(int spaceCirUppL);
                    void setDeltaT(int deltaT);
                    void initRandomMultiBodySystem();
                    int calcOneStep();                 
                    bodyStructList getBodyStructList();
                    
	  };
};
